class CarQueryEntity {
	List<CarQueryContent> content;

	CarQueryEntity({this.content});

	CarQueryEntity.fromJson(Map<String, dynamic> json) {
		if (json['content'] != null) {
			content = new List<CarQueryContent>();(json['content'] as List).forEach((v) { content.add(new CarQueryContent.fromJson(v)); });
		}
	}

	Map<String, dynamic> toJson() {
		final Map<String, dynamic> data = new Map<String, dynamic>();
		if (this.content != null) {
      data['content'] =  this.content.map((v) => v.toJson()).toList();
    }
		return data;
	}
}

class CarQueryContent {
	String licencePlate;
	double tare;
	String provinceShortName;
	String typeName;
	int id;

	CarQueryContent({this.licencePlate, this.tare, this.provinceShortName, this.typeName, this.id});

	CarQueryContent.fromJson(Map<String, dynamic> json) {
		licencePlate = json['licencePlate'];
		tare = json['tare'];
		provinceShortName = json['provinceShortName'];
		typeName = json['typeName'];
		id = json['id'];
	}

	Map<String, dynamic> toJson() {
		final Map<String, dynamic> data = new Map<String, dynamic>();
		data['licencePlate'] = this.licencePlate;
		data['tare'] = this.tare;
		data['provinceShortName'] = this.provinceShortName;
		data['typeName'] = this.typeName;
		data['id'] = this.id;
		return data;
	}
}
